package cn.zlp.hrm.service;

import cn.zlp.hrm.domain.Tenant;
import cn.zlp.hrm.dto.TenantEnteringDto;
import cn.zlp.hrm.query.TenantQuery;
import cn.zlp.hrm.util.PageList;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zlp
 * @since 2022-01-02
 */
public interface ITenantService extends IService<Tenant> {

    /**
     * 关联高级分页查询
     * @param query
     * @return
     */
    PageList<Tenant> selectPageList(TenantQuery query);

    /**
     * 机构入驻
     * @param dto
     */
    void entering(TenantEnteringDto dto);
}
